// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeOptimizeAdviceOnMissIndexResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeOptimizeAdviceOnMissIndexResponse::DescribeOptimizeAdviceOnMissIndexResponse() {
}

const string& DescribeOptimizeAdviceOnMissIndexResponse::AdviceOnMissIndex::GetDBName(void) const {
  return DBName_;
}

const string& DescribeOptimizeAdviceOnMissIndexResponse::AdviceOnMissIndex::GetTableName(void) const {
  return TableName_;
}

const string& DescribeOptimizeAdviceOnMissIndexResponse::AdviceOnMissIndex::GetQueryColumn(void) const {
  return QueryColumn_;
}

const string& DescribeOptimizeAdviceOnMissIndexResponse::AdviceOnMissIndex::GetSQLText(void) const {
  return SQLText_;
}

const std::vector<DescribeOptimizeAdviceOnMissIndexResponse::AdviceOnMissIndex>& DescribeOptimizeAdviceOnMissIndexResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeOptimizeAdviceOnMissIndexResponse::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

int DescribeOptimizeAdviceOnMissIndexResponse::GetTotalRecordsCount(void) const {
  return TotalRecordsCount_;
}

int DescribeOptimizeAdviceOnMissIndexResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeOptimizeAdviceOnMissIndexResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeOptimizeAdviceOnMissIndexResponse::BaseKey(void) {
  return "DescribeOptimizeAdviceOnMissIndexResponse";
}

void DescribeOptimizeAdviceOnMissIndexResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].TableName_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.Items["+string_ValueOfInt(i1)+"].TableName");
      UnmarshallerString(Items_[i1].QueryColumn_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.Items["+string_ValueOfInt(i1)+"].QueryColumn");
      UnmarshallerString(Items_[i1].SQLText_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.Items["+string_ValueOfInt(i1)+"].SQLText");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(DBInstanceId_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.DBInstanceId");
  UnmarshallerInt(TotalRecordsCount_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.TotalRecordsCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeOptimizeAdviceOnMissIndexResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
